﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Shared/Admin.master" AutoEventWireup="true" CodeFile="NhaSanXuat.aspx.cs" Inherits="Admin_NhaSanXuat" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

<div class="formBox">
    <h2>Nhà sản xuất</h2>
    <div class="alignR">
        <asp:HyperLink ID="hlinkThemMoi" runat="server" 
            NavigateUrl="~/Admin/NhaSanXuatThem.aspx">Thêm mới</asp:HyperLink>
    </div>
    <p><asp:Label ID="lbThongBao" runat="server"></asp:Label></p>
    <div>
        <asp:GridView ID="gvNhaSanXuat" runat="server" AutoGenerateColumns="False" 
            CellPadding="4" ForeColor="#333333" GridLines="None" 
            onrowcancelingedit="gvNhaSanXuat_RowCancelingEdit" 
            onrowcreated="gvNhaSanXuat_RowCreated" onrowdeleting="gvNhaSanXuat_RowDeleting" 
            onrowediting="gvNhaSanXuat_RowEditing" onrowupdating="gvNhaSanXuat_RowUpdating">
            <AlternatingRowStyle BackColor="White" />
            <Columns>
                <asp:BoundField DataField="MaNhaSanXuat" HeaderText="ID" />
                <asp:BoundField DataField="TenNhaSanXuat" HeaderText="Tên Nhà Sản Xuất" />
                <asp:BoundField DataField="BiDanh" HeaderText="Bí Danh" />
                <asp:CommandField CancelText="Hủy" DeleteText="Xóa" EditText="Cập nhật" 
                    HeaderText="Chức Năng" ShowDeleteButton="True" ShowEditButton="True" />
            </Columns>
            <FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
            <HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#FFCC66" ForeColor="#333333" HorizontalAlign="Center" />
            <RowStyle BackColor="#FFFBD6" ForeColor="#333333" />
            <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" />
            <SortedAscendingCellStyle BackColor="#FDF5AC" />
            <SortedAscendingHeaderStyle BackColor="#4D0000" />
            <SortedDescendingCellStyle BackColor="#FCF6C0" />
            <SortedDescendingHeaderStyle BackColor="#820000" />
        </asp:GridView>
    </div>

</div>

</asp:Content>

